package com.mongodb.demo;//package com.heytea.service.sale.manager.demo;
//
//import java.util.ArrayList;
//import java.util.List;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.core.convert.converter.Converter;
//import org.springframework.data.mongodb.core.convert.MongoCustomConversions;
//
///**
// * @author zhangbowen
// * @date 2019/5/9
// **/
//@Configuration
//public class Config {
//    @Bean
//    public MongoCustomConversions customConversions() {
//        List<Converter<?, ?>> converterList = new ArrayList<>();
//        converterList.add(new CustomReadGeoJsonConverter());
//        converterList.add(new CustomWriteGeoJsonConverter());
//        return new MongoCustomConversions(converterList);
//    }
//
//}
